package cn.iocoder.yudao.module.member.controller.admin.bankaccountinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Schema(description = "管理后台 - 用户转账信息新增/修改 Request VO")
@Data
public class BankAccountInfoSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "7388")
    private Long id;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "17330")
    private Long userId;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "姓名不能为空")
    private String name;

    @Schema(description = "手机号", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotEmpty(message = "手机号不能为空")
    private String mobile;

    @Schema(description = "身份证号", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotEmpty(message = "身份证号不能为空")
    private String idNo;

    @Schema(description = "银行卡号", requiredMode = Schema.RequiredMode.REQUIRED, example = "32518")
    @NotEmpty(message = "银行卡号不能为空")
    private String bankId;

    @Schema(description = "银行名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "银行名称不能为空")
    private String bankName;

    @Schema(description = "开户行名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "开户行名称不能为空")
    private String bankAddress;

    private Boolean defaultStatus;

}